<?php

namespace common\models\base;

use Yii;

/**
 * This is the model class for table "{{%api_send_to_bank_log}}".
 *
 * @property integer $id
 * @property integer $time
 * @property string $header_data
 * @property string $get_data
 * @property string $post_data
 * @property string $other_data
 * @property string $return_content
 */
class ApiSendToBankLog extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%api_send_to_bank_log}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['time'], 'required'],
            [['time'], 'integer'],
            [['header_data', 'get_data', 'post_data', 'other_data', 'return_content'], 'string'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'time' => 'Time',
            'header_data' => 'Header Data',
            'get_data' => 'Get Data',
            'post_data' => 'Post Data',
            'other_data' => 'Other Data',
            'return_content' => 'Return Content',
        ];
    }
}
